<?php

/**
* @current cmsuserpunishstatistic.php
* @author   Caoqicheng <caoqicheng@haibao.com>
* @date 2017年2月22日 下午17:41:03
*/
namespace haibao\jiepai\model\data\user;

class CmsAlbumPictures extends \haibao\jiepai\model\data\Base{
	

	/**
	 * 删除时置为-1，默认是0
	 * 是否是删除
	 */
	const FLAG_IS = 0;
	const FLAG_DEL = -1;
	
	public $Type;
	
	public $ContentID;
	
	public $ArticleID;
	
	public $FileID;
	
	public $AlbumID;
	
	public $UserID;
	
	public $FileName;
	
	public $Flag;
	
	public $CreateTime;
	
    public function __construct(){
        parent::__construct();
        
        $this->intField('Type', 'Type');
        $this->intField('ContentID', 'ContentID');
        $this->intField('ArticleID', 'ArticleID');
        $this->intField('FileID', 'FileID');
        $this->intField('AlbumID', 'AlbumID');
        $this->intField('UserID', 'UserID');
        $this->stringField('FileName', 'FileName');
        $this->intField('Flag', 'Flag');
        $this->dateField('CreateTime', 'CreateTime',true);
        
        
        $this->setTableName('cms_album_pictures');
    }
}

